<%-- 
    Document   : npost
    Created on : Nov 15, 2009, 11:51:02 PM
    Author     : fdcube
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>发表新帖</title>
        <link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <s:div cssClass="top">
            <s:include value="/header.jsp"/>
            <s:include value="/side.jsp"/>
        </s:div>
        <div style="padding-left:100px;" align="left">
        <s:form action="BbsAction!AddPost" namespace="/bbs">
            <s:select name="bpostForm.bid" label="栏目选择" list="bList" listKey="bid" listValue="bname"/>
            <s:textfield label="帖子标题" name="bpostForm.ptitle"/>
            <s:textarea rows="10" label="帖子内容" name="bpostForm.pcontent"/>
            <s:submit value="发新帖" align="center"/>
            <s:hidden name="returnUrl" value="/bbs/BbsAction!SAddPost.action"/>
        </s:form>
        </div>
    </body>
</html>
